<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Asiamode Admin</title>
<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/css/style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/css/invalid.css" type="text/css" media="screen" />	
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/scripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/scripts/simpla.jquery.configuration.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/scripts/facebox.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/scripts/jquery.wysiwyg.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/scripts/jquery.datePicker.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/scripts/jquery.date.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/scripts/jquery.MultiFile.js"></script>

</head>
	<body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
		
		<div id="sidebar"><div id="sidebar-wrapper"> <!-- Sidebar with logo and menu -->
			
			<h1 id="sidebar-title"><a href="#">Asiamode Admin</a></h1>
		  
			<!-- Logo (221px wide) -->
			<a href="<?php echo Yii::app()->request->baseUrl; ?>"><img id="logo" src="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/images/logo.png" alt="Simpla Admin logo" /></a>
		  
			<!-- Sidebar Profile links -->
			<div id="profile-links">
				Xin chào, <a href="#" title="Edit your profile"><?php echo Yii::app()->user->name;?></a><br />
				<br />
				<a href="<?php echo Yii::app()->request->baseUrl; ?>" title="View the Site">Trang chủ</a> | <a href="<?php echo Yii::app()->request->baseUrl; ?>/site/logout" title="Sign Out">Đăng xuất</a>
			</div>        
			
			
			<!-- #######   Menu   ####### -->
			<ul id="main-nav">  
				
				<li>
					<a href="<?php echo Yii::app()->request->baseUrl; ?>/sanpham/index" class="nav-top-item"> <!-- Add the class "no-submenu" to menu items with no sub menu -->
						Sản phẩm
					</a> 
					<ul>
						<li><a href="<?php echo Yii::app()->request->baseUrl; ?>/sanpham/create">Thêm sản phẩm</a></li>
						<li><a href="<?php echo Yii::app()->request->baseUrl; ?>/sanpham/index">Danh sách sản phẩm</a></li> <!-- Add class "current" to sub menu items also -->
						<li><a href="<?php echo Yii::app()->request->baseUrl; ?>/danhmucsanpham/index">Danh mục sản phẩm</a></li>
						<li><a href="<?php echo Yii::app()->request->baseUrl; ?>/loaisanpham/index">Loại sản phẩm</a></li>
					</ul>      
				</li>
				
				<li> 
					<a href="<?php echo Yii::app()->request->baseUrl; ?>/tintuc/index" class="nav-top-item"> <!-- Add the class "current" to current menu item -->
					Tin tức
					</a>
					<ul>
						<li><a href="<?php echo Yii::app()->request->baseUrl; ?>/tintuc/create">Thêm tin tức</a></li>
						<li><a href="<?php echo Yii::app()->request->baseUrl; ?>/tintuc/index">Danh sách tin</a></li> <!-- Add class "current" to sub menu items also -->
						<li><a href="<?php echo Yii::app()->request->baseUrl; ?>/danhmuctin/index">Danh mục tin</a></li>
					</ul>
				</li>
				
				<li>
					<a href="<?php echo Yii::app()->request->baseUrl; ?>/taikhoan/index" class="nav-top-item">
						Tài khoản
					</a>
					<ul>
						<li><a href="<?php echo Yii::app()->request->baseUrl; ?>/taikhoan/update/id/<?php echo Yii::app()->user->Id;?>">Sửa thông tin</a></li>
						<li><a href="<?php echo Yii::app()->request->baseUrl; ?>/taikhoan/create">Thêm tài khoản</a></li>
						<li><a href="<?php echo Yii::app()->request->baseUrl; ?>/taikhoan/index">Danh sách tài khoản</a></li>
					</ul>
				</li>
				
				<li>
					<a href="#" class="nav-top-item">
						Tùy chỉnh chung
					</a>
					<ul>
						<li><a href="<?php echo Yii::app()->request->baseUrl; ?>/menu/index">Sửa menu</a></li>
						<li><a href="<?php echo Yii::app()->request->baseUrl; ?>/quangcao/index">Danh sách quảng cáo</a></li>
						<li><a href="<?php echo Yii::app()->request->baseUrl; ?>/quangcao/create">Thêm quảng cáo</a></li>
					</ul>
				</li>
				
			</ul> <!-- End #main-nav -->
			
			
		</div></div> <!-- End #sidebar -->
		<!-- #######  End Menu   ####### -->
		
		
		
		<div id="main-content"> <!-- Main Content Section with everything -->
			
			
			<ul class="shortcut-buttons-set">
				
				<li><a class="shortcut-button" href="<?php echo Yii::app()->request->baseUrl; ?>/tintuc/create"><span>
					<img src="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/images/icons/pencil_48.png" alt="icon" /><br />
					Thêm tin tức
				</span></a></li>
				
				<li><a class="shortcut-button" href="<?php echo Yii::app()->request->baseUrl; ?>/sanpham/create"><span>
					<img src="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/images/icons/clothing_icon.gif" alt="icon" /><br />
					Thêm sản phẩm
				</span></a></li>
				
				<li><a class="shortcut-button" href="<?php echo Yii::app()->request->baseUrl; ?>/quangcao/create"><span>
					<img src="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/images/icons/image_add_48.png" alt="icon" /><br />
					Thêm quảng cáo
				</span></a></li>
				
			</ul><!-- End .shortcut-buttons-set -->
			
			<div class="clear"></div> <!-- End .clear -->
			
			<div class="content-box"><!-- Start Content Box -->
				
				<?php echo $content;?>
				
			</div> <!-- End .content-box -->
			
			
			<div id="footer">
				<small> <!-- Remove this notice or replace it with whatever you want -->
						&#169; Copyright 2012 Asiamode | Powered by <a href="http://vpassion.vn/">Vpassion Group</a>
				</small>
			</div><!-- End #footer -->
			
		</div> <!-- End #main-content -->

	</div></body>
</html>
